/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "报损订单",TableName = "ReportLossDto")]
    public partial class ReportLossDto:BaseEntity
    {
        /// <summary>
       ///报损单号
       /// </summary>
       [Display(Name ="报损单号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ReportLossId { get; set; }

       /// <summary>
       ///报损类型
       /// </summary>
       [Display(Name ="报损类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ReportLossType { get; set; }

       /// <summary>
       ///关联订单号
       /// </summary>
       [Display(Name ="关联订单号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string OrderId { get; set; }

       /// <summary>
       ///制单人
       /// </summary>
       [Display(Name ="制单人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string MakeupPeople { get; set; }

       /// <summary>
       ///制单时间
       /// </summary>
       [Display(Name ="制单时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MakeupTime { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Remark { get; set; }

       /// <summary>
       ///产品ID
       /// </summary>
       [Display(Name ="产品ID")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductId { get; set; }

       /// <summary>
       ///产品名称
       /// </summary>
       [Display(Name ="产品名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductName { get; set; }

       /// <summary>
       ///产品编码
       /// </summary>
       [Display(Name ="产品编码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductCode { get; set; }

       /// <summary>
       ///规格
       /// </summary>
       [Display(Name ="规格")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductSKU { get; set; }

       /// <summary>
       ///批次
       /// </summary>
       [Display(Name ="批次")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Batch { get; set; }

       /// <summary>
       ///单价
       /// </summary>
       [Display(Name ="单价")]
       [DisplayFormat(DataFormatString="8,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Price { get; set; }

       /// <summary>
       ///报损数量
       /// </summary>
       [Display(Name ="报损数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Number { get; set; }

       /// <summary>
       ///当前库位
       /// </summary>
       [Display(Name ="当前库位")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Warehouse { get; set; }

       /// <summary>
       ///是否删除
       /// </summary>
       [Display(Name ="是否删除")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsDel { get; set; }

       /// <summary>
       ///报损订单主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="报损订单主键")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ReportLossinfodtoId { get; set; }

       
    }
}